<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
    <head>
        <link rel="icon" href="/resources/img/ico.png" type="image/x-icon" />
        <link rel='stylesheet' type='text/css' href='/resources/css/style.css' />
        <title>Spring MVC + Json</title>

        <script type="text/javascript" src="/resources/js/jquery-2.1.0.js"></script>
        <script type="text/JavaScript" src="/resources/js/users.js"></script>
    </head>
    <body>

    <div id="mainDiv">

        <div id="header">
            <h1>Добавить нового пользователя</h1>
            <input type="text" class="userInput" id="user_name" onkeydown="userNameEnterHandler()" value="name">
            <input type="text" class="userInput" id="user_login" onkeydown="userLoginEnterHandler()" value="login">
            <input type="text" class="userInput" id="user_pass" onkeydown="userPassEnterHandler()" value="pass">
            <input type="button" id="addUser" onclick="processRequestAddUser()" value="Добавить">
        </div>
        <div id="content">
            <h1>Список пользователей</h1>
            <table id="tasks">
                <thead>
                <tr>
                    <td>№</td>
                    <td>Имя пользователя</td>
                    <td>Логин</td>
                    <td>ID</td>
                    <td>Дата регистрации</td>
                    <td class="del"></td>
                </tr>
                </thead>
                <tbody></tbody>
            </table>
            <a class="reloadList right" href="/userList">Перезагрузить список</a>
        </div>
        <div id="message"></div>
    </div>

    </body>
</html>
